package com.avocado.strategy;

import com.avocado.actor.Actor;

/**
 * @author avocado
 * @date 2023/5/28 22:36
 */
public interface ActorWorkStrategy {

    /**
     * 是否能继续工作
     */
    boolean canWork(Actor actor);

    /**
     * 是否要放回调度池
     */
    boolean canOffer(Actor actor);

}
